package com.ustc.hewei.nettyrpc2_0.common.exception;

import com.ustc.hewei.nettyrpc2_0.common.enumeration.RpcError;

/**
* @description: 单例创建异常
* @author hewei
* @date 2022/9/9 20:12
* @version 1.0
*/

public class SingletonException extends RuntimeException {
    public SingletonException(RpcError error, Exception e) {
        super(error.getMassage() + ":" + e);
    }
}
